﻿using System;

class Program
{
    static void Main()
    {
        int n = int.Parse(Console.ReadLine());
        int w = 2 * n;
        int h = n + 1;
        string dots = new String('.', n);
        string asterisks = new String('*', n);
        Console.Write(dots);
        Console.WriteLine(asterisks);
        for (int i = n-1; i >0 ; i--)
        {
            string ldots = new String('.', i);
            Console.Write(ldots);
            Console.Write("*");
            string rdots = new String('.', w - 2 - i);
            Console.Write(rdots);
            Console.WriteLine("*");
        }
        asterisks =new String ('*', w);
        Console.WriteLine(asterisks);

    }
}